﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BlueLotus7.Web
{
    public class GridData
    {
        #region Properties

        /// <summary>
        /// Gets a value of list of <c>GridColumn</c> objects.
        /// </summary>
        public List<GridColumn> Columns
        {
            get;
            set;
        }

        public bool Sortable
        {
            get;
            set;
        }

        /// <summary>
        /// Gets a value of list of <c>GridRow</c> objects.
        /// </summary>
        public List<GridRow> Rows
        {
            get;
            protected set;
        }

        #endregion

        public GridData()
        {
            this.Rows = new List<GridRow>();
        }
    }
}